﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace CNFM_CROCODILE_LOGO.Data.Migrations
{
    public partial class Model1 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "Details",
                table: "SignageApplicationReceipt",
                unicode: false,
                maxLength: 500,
                nullable: true,
                oldClrType: typeof(string),
                oldUnicode: false,
                oldMaxLength: 500);

            migrationBuilder.AddColumn<string>(
                name: "OneRemarks",
                table: "SignageApplicationReceipt",
                unicode: false,
                maxLength: 300,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "TwoRemarks",
                table: "SignageApplicationReceipt",
                unicode: false,
                maxLength: 300,
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "OneRemarks",
                table: "SignageApplicationReceipt");

            migrationBuilder.DropColumn(
                name: "TwoRemarks",
                table: "SignageApplicationReceipt");

            migrationBuilder.AlterColumn<string>(
                name: "Details",
                table: "SignageApplicationReceipt",
                unicode: false,
                maxLength: 500,
                nullable: false,
                oldClrType: typeof(string),
                oldUnicode: false,
                oldMaxLength: 500,
                oldNullable: true);
        }
    }
}
